/*
 * @Author: rxn 1003312535@qq.com
 * @Date: 2024-07-08 08:49:20
 * @LastEditors: rxn 1003312535@qq.com
 * @LastEditTime: 2024-07-10 15:01:34
 * @FilePath: \vue3-progect\src\views\example\three\helper\OrbitControls.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/**
 * Orbit controls（轨道控制器）可以使得相机围绕目标进行轨道运动。,必须显式导入。
 */
import { OrbitControls } from "three/addons/controls/OrbitControls.js";
export const OrbitControlsHelper = (THREE, scene, camera, renderer) => {
	const controls = new OrbitControls(camera, renderer.domElement);
	controls.update();
};
